<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>子页右侧站内广告</title>
</head>
<body>
<?php 
	foreach($poster as $v){
		if($v['p_cate']==1){
?>
	<div style="text-align:center;overflow:hidden;padding:1px;background:#defdef;margin:3px 5px 3px 15px">
		<div style="width:100%;background:#fff;">
			{$v['p_content']}
		</div>
	</div>
<?php
		}
	}
?>
</body>
</html>